package com.nowcoder.community.dao;

import org.springframework.stereotype.Repository;

/**
 * @author AnYang
 * @Description 测试bean容器是否可调用成功
 * @Version 1.0.0
 * @Date 2024/1/12
 */

//可以其别名,默认是类名
@Repository("alphaHibernate")
public class AlphaDaoHibernateImpl implements AlphaDao{
    @Override
    public String select() {
        return "Hibernate";
    }

    public String find() {
        return "data";
    }
}
